package com.awesome.common.base.mvp

import java.lang.Exception

/**
 * Author: JFangZ
 * Email: janezhang1901@163.com
 * Date: 2020-02-11 21:02
 * Description:The base of view.
 */
interface IBaseView {
    fun showLoadingUI() {

    }

    fun hideLoadingUI() {

    }

    fun showContentUI() {
        hideLoadingUI()
    }

    fun showErrorUI(e: Exception) {
        hideLoadingUI()
    }

    fun showEmptyUI() {
        hideLoadingUI()
    }
}
